package com.panshi.po;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author 857
 * @since 2020-07-29
 */
@Data
@ApiModel(value="全部回复", description="")
public class RevertAll implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "回答表的评论id")
    private Long id;

    @ApiModelProperty(value = "评论人ID")
    private Long userId;

    @ApiModelProperty(value = "评论父ID")
    private Long parentId;

    @ApiModelProperty(value = "评论内容")
    private String content;

    @ApiModelProperty(value = "评论时间")
    private Date createTime;

    @ApiModelProperty(value = "等级")
    private Integer levle;

    @ApiModelProperty(value = "点赞量")
    private Integer raiseNum;

    @ApiModelProperty(value = "用户昵称")
    private String nickname;

    @ApiModelProperty(value = "头像图地址")
    private String photoPath;

    @ApiModelProperty(value = "子评论数量")
    private Integer count;

    @ApiModelProperty(value="子级回复")
    private List<RevertAll> revertAllList;

}
